//
//  YHOptionTableViewLayout.h
//  ScriptKill
//
//  Created by 林宁宁 on 2021/4/28.
//  Copyright © 2021 优智汇. All rights reserved.
//

#import <YHBase/YHBaseObject.h>
#import "YHOptionLayoutConstant.h"

NS_ASSUME_NONNULL_BEGIN

@interface YHOptionTableViewLayout : YHBaseObject


/// 显示右边箭头标识
@property (assign, nonatomic) BOOL showAccessoryArrowView;
/// 显示底部的分界线 默认YES
@property (assign, nonatomic) BOOL showBottomLine;


/// cell高度也是最小高度
@property (assign, nonatomic) CGFloat cellHeight;
/// 如果有这个高度值  就固定这个 用于高度计算存储固定高度的
@property (assign, nonatomic) CGFloat cellHeightFix;
/// 高度是自动计算的
@property (assign, nonatomic) BOOL cellHeightAuto;

/// 没有标题 整行 有坐标 边距 默认 YHLauoutSpace15()
@property (assign, nonatomic) BOOL isFullCell;
/// 整行铺满无边距
@property (assign, nonatomic) BOOL isFullNoneSpace;

@property (retain, nonatomic) UIColor * cellBgColor;

/// 顶部间距 默认0
@property (assign, nonatomic) CGFloat spaceTop;
/// 默认 [UIColor yh_background].yh_alpha(0.1)
@property (retain, nonatomic) UIColor * spaceColorTop;
/// 底部间距 默认0
@property (assign, nonatomic) CGFloat spaceBottom;
/// 默认 [UIColor yh_background].yh_alpha(0.1)
@property (retain, nonatomic) UIColor * spaceColorBottom;

/// cellcontent的左右边距
@property (assign, nonatomic) CGFloat spaceHorizontalMargin;

/// 这个cell的圆角信息 默认None
@property (assign, nonatomic) UIRectCorner cornerType;
/// 圆角大小
@property (assign, nonatomic) CGFloat cornerRadius;

/// 左侧视图 显示类型
@property (assign, nonatomic) YHOptionCellLeftShowType leftShowType;

/// 左侧图片大小
@property (assign, nonatomic) CGSize leftImageSize;
/// 左侧图片圆角
@property (assign, nonatomic) CGFloat leftImageCornerRadius;
/// 左侧图片占位图
@property (retain, nonatomic) UIImage * leftImagePlaceholder;

/// 左侧标题的对其方式
@property (assign, nonatomic) NSTextAlignment leftTitleAlignment;
@property (assign, nonatomic) CGFloat leftTitleWidth;
@property (retain, nonatomic) UIColor * leftTitleColor;
@property (retain, nonatomic) UIFont * leftTitleFont;

/// 右侧视图 显示类型
@property (assign, nonatomic) YHOptionCellRightShowType rightShowType;
/// 右侧删除按钮 显示状态
@property (assign, nonatomic) YHOptionCellCleanStatus rightCleanBtnStatus;

/// 右侧图片大小
@property (assign, nonatomic) CGSize rightImageSize;
/// 右侧图片圆角
@property (assign, nonatomic) CGFloat rightImageCornerRadius;
/// 右侧图片占位图
@property (retain, nonatomic) UIImage * rightImagePlaceholder;

/// 是否 无法点击
@property (assign, nonatomic) BOOL rightSwitchDisable;

///  h1
@property (retain, nonatomic) UIColor * rightTitleColor;
///  12
@property (retain, nonatomic) UIFont * rightTitleFont;
/// 标题大小 zero
@property (assign, nonatomic) CGSize rightTitleSize;
/// 圆角
@property (assign, nonatomic) CGFloat rightTitleCornerRadius;

@end

NS_ASSUME_NONNULL_END
